﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace TestDll
{
    public class TestHandler : IRouteNotificationHandler<TestRouteNNN>
    {
        public string Route => "api/user/get";

        public Task Handle(TestRouteNNN notification, CancellationToken cancellationToken)
        {
            System.Windows.Forms.MessageBox.Show("触发了事件");
            return Task.CompletedTask;
        }
    }
}
